/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bean;

/**
 * Lớp món hàng
 *
 * @author Windsea
 */
public class MonHang {

    private int id;
    private String name;
    private String provider, type;
    private int price;
    private int qtyOrdered;

    // Khởi tạo
    public MonHang(int id, String name, String type,
            String provider, int price, int qtyOrdered) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.provider = provider;
        this.price = price;
        this.qtyOrdered = qtyOrdered;
    }

    public MonHang(int id, String name, String provider, int price, int qtyOrdered) {
        this.id = id;
        this.name = name;
        this.provider = provider;
        this.price = price;
        this.qtyOrdered = qtyOrdered;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public String getProvider() {
        return provider;
    }

    public String getName() {
        return name;
    }

    public int getPrice() {
        return price;
    }

    public int getQtyOrdered() {
        return qtyOrdered;
    }

    public void setQtyOrdered(int qtyOrdered) {
        this.qtyOrdered = qtyOrdered;
    }
}
